<?php
require_once '../include/common.inc.php';
$query=$db->query("select m.*,ms.* from {$tablepre}members m,{$tablepre}memberfields ms  where m.uid=ms.uid and m.gid=3 ");
$i = 0;
while($row=$db->fetch_row($query)){
	++$i;
	$list.="

  <div class='li'>
	<div class='li_img'><img src='../face/p3/{$i}.gif'></div>
    <div class='li_qq'><a href='mqqwpa://im/chat?chat_type=wpa&uin={$row[realname]}&version=1&src_type=web&web_src=oicqzone.com'   target='oqq'>
    {$row[nickname]}</a></div>
    <div class='li_phone'>{$row[phone]}</div>
  </div>
";
}

?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>客服列表</title>
<style type="text/css">
/* CSS Document */


body { font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; color: #4f6b72;background-color: #c2ddf3;  }
a { color: #FFF; text-decoration: none;}
.list { float: left; margin-bottom:20px;}
.li { float: left; margin:1px; width: 31.5%; padding: 1px; border: 1px solid #aec5d8; background-color: #fff; height:208px;}
.li_img img{ width:100px; height: 140px; border: 1px #CCCCCC solid; padding: 1px; margin:1px; }
.li_qq { background: url(img/pop_btn1.png) no-repeat; display: block; margin: 0 auto; color: #fff; font-size: 14px; padding-left: 25px; margin-top: 3px; width: 80px; height: 26px; line-height: 26px; overflow:hidden }
.li_qq:hover{opacity: 0.9;}
.li_phone { background: url(img/pop_btn2.png) no-repeat 1px 3px; display: block; height: 22px; line-height: 22px; padding-left: 12px; width: 90px; margin: 0 auto; font-size: 13px;  overflow:hidden; color:#F00}
.li_phone a{ color:red}
</style>
</head>

<body style="overflow:auto">
<div class='list'>
  <!--<div class='li' id='PubKF'>
    <div class='li_img'><img src='../room/images/y.png'></div>
	<div class='li_qq'><a href='http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODA2NTA3N18yODE1OThfNDAwMDg2MTUyOV8yXw' title='公共客服' target='_blank'>
    公共客服</a></div>
    <div class='li_phone' style="color:#000">4000861529</div>
  </div>-->
  <?php echo $list; ?>
</div>
<iframe src="" frameborder="0" scrolling-y="auto" width="1" style=" display:none" name='oqq'></iframe>
</body>
</html>